.multiselect-nav {
  .selected-list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 10px;
    padding: 10px;
    overflow: hidden;
    border: 1px solid #ddd;
    border-radius: 2px;

    &-item {
      display: flex;
      align-items: center;
      margin: 0 10px 5px 0;
      padding: 3px 6px;
      overflow: hidden;
      font-size: 12px;
      background: #f8f8f8;
      border-radius: 3px;

      > span:first-child {
        margin-right: 5px;
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
      }

      .clone-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 14px;
        min-width: 14px;
        height: 14px;
        color: #fff;
        font-size: 8px;
        background-color: #ccc;
        border-radius: 8px;
        cursor: pointer;

        &:hover {
          background-color: #f25b43;
        }
      }
    }
  }
}

.bi-filter-item-select {
  padding: 4px !important;

  ul {
    height: 100%;
    max-height: 300px;
    overflow-y: auto !important;

    &::-webkit-scrollbar {
      width: 6px !important;
      height: 6px !important;
      background-color: transparent;
      transition: background-color 0.25s ease-in-out;
    }
  
    &::-webkit-scrollbar-thumb {
      background-color: transparent;
    }

    &:hover {
      &::-webkit-scrollbar {
        width: 6px !important;
        height: 6px !important;
        background-color: #ddd;
        border-radius: 4px;
      }
  
      /* 定义滚动条轨道内阴影+圆角 */
      &::-webkit-scrollbar-track {
        background-color: #f5f5f5;
        border-radius: 4px;
  
        --webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
      }
  
      /* 定义滑块内阴影+圆角 */
      &::-webkit-scrollbar-thumb {
        background-color: #ddd;
        border-radius: 4px;
  
        --webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
      }
    }
  }

  .option-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 32px;
    margin-bottom: 3px;
    padding: 0 10px;
    color: #222526;
    font-size: 13px;
    line-height: 32px;
    border-radius: 3px;
    cursor: pointer;
    &:hover {
      background-color: #f7f7f7;
    }
  }

  .option-item-active {
    background-color: #e6f7ff;
    &:hover {
      background-color: #d7f1fd;
    }
  }

  :global {
    ::-webkit-scrollbar {
      width: 6px;
      height: 6px;
    }
    ::-webkit-scrollbar-thumb {
      background-color: rgba(0, 0, 0, 0.1);
      border-radius: 3px;
    }
    ::-webkit-scrollbar-thumb:hover {
      background-color: rgba(0, 0, 0, 0.2);
    }
  }
}
